<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateCmpWifiTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('cmpWifi', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('cmpId')->comment('公司ID');
            $table->string('typeName')->comment('类型名称');
            $table->string('userName')->comment('账户');
            $table->string('passWord')->comment('密码');
        });
        DB::statement("ALTER TABLE `cmpWifi` comment '公司wifi信息表'");
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
